
set(name lr-wpan)

set(source_files
        model/lr-wpan-error-model.cc
        model/lr-wpan-interference-helper.cc
        model/lr-wpan-phy.cc
        model/lr-wpan-mac.cc
        model/lr-wpan-mac-header.cc
        model/lr-wpan-mac-pl-headers.cc
        model/lr-wpan-fields.cc
        model/lr-wpan-mac-trailer.cc
        model/lr-wpan-csmaca.cc
        model/lr-wpan-net-device.cc
        model/lr-wpan-spectrum-value-helper.cc
        model/lr-wpan-spectrum-signal-parameters.cc
        model/lr-wpan-lqi-tag.cc
        helper/lr-wpan-helper.cc
        )

set(header_files
        model/lr-wpan-error-model.h
        model/lr-wpan-interference-helper.h
        model/lr-wpan-phy.h
        model/lr-wpan-mac.h
        model/lr-wpan-mac-header.h
        model/lr-wpan-mac-pl-headers.h
        model/lr-wpan-fields.h
        model/lr-wpan-mac-trailer.h
        model/lr-wpan-csmaca.h
        model/lr-wpan-net-device.h
        model/lr-wpan-spectrum-value-helper.h
        model/lr-wpan-spectrum-signal-parameters.h
        model/lr-wpan-lqi-tag.h
        helper/lr-wpan-helper.h
        )

set(libraries_to_link ${libnetwork} ${libcore} ${libmobility} ${libspectrum} ${libpropagation})

set(test_sources
        test/lr-wpan-ack-test.cc
        test/lr-wpan-cca-test.cc
        test/lr-wpan-collision-test.cc
        test/lr-wpan-ed-test.cc
        test/lr-wpan-error-model-test.cc
        test/lr-wpan-packet-test.cc
        test/lr-wpan-pd-plme-sap-test.cc
        test/lr-wpan-spectrum-value-helper-test.cc
        test/lr-wpan-ifs-test.cc
        test/lr-wpan-slotted-csmaca-test.cc
        )

build_lib("${name}" "${source_files}" "${header_files}" "${libraries_to_link}" "${test_sources}")



